package es.cazadoresmadridejos.model;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Entity(name="BigGameAssistance")
@Table(name="asistencia_monteria")
public class BigGameAssistance extends BaseEntity {

	private Partner partner;
	private	BigGame bigGame;
	private Integer deers;
	private Integer hinds;
	private Integer wildBoars;
	private BigDecimal payment;
	private String description;
	private String stand;
	private String armada;
	private Integer cancel;
	private Integer listIndex;
	
	@ManyToOne(optional=false)
	@JoinColumn(name="usuario")		
	public Partner getPartner() {
		return partner;
	}
	public void setPartner(Partner partner) {
		this.partner = partner;
	}
	
	@ManyToOne(optional=false)
	@JoinColumn(name="monteria")	
	public BigGame getBigGame() {
		return bigGame;
	}
	public void setBigGame(BigGame bigGame) {
		this.bigGame = bigGame;
	}
	@Column(name="venados")
	public Integer getDeers() {
		return deers;
	}
	public void setDeers(Integer deers) {
		this.deers = deers;
	}
	@Column(name="ciervas")
	public Integer getHinds() {
		return hinds;
	}
	public void setHinds(Integer hinds) {
		this.hinds = hinds;
	}
	@Column(name="jabalies")
	public Integer getWildBoars() {
		return wildBoars;
	}
	public void setWildBoars(Integer wildBoars) {
		this.wildBoars = wildBoars;
	}
	@Column(name="pagado")
	public BigDecimal getPayment() {
		return payment;
	}
	public void setPayment(BigDecimal payment) {
		this.payment = payment;
	}
	@Column(name="comentarios")
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	@Column(name="puesto")
	public String getStand() {
		return stand;
	}
	public void setStand(String stand) {
		this.stand = stand;
	}
	@Column(name="armada")
	public String getArmada() {
		return armada;
	}
	public void setArmada(String armada) {
		this.armada = armada;
	}
	@Column(name="cancelado")
	public Integer getCancel() {
		return cancel;
	}
	public void setCancel(Integer cancel) {
		this.cancel = cancel;
	}
	@Column(name="numero_lista")
	public Integer getListIndex() {
		return listIndex;
	}
	public void setListIndex(Integer listIndex) {
		this.listIndex = listIndex;
	}
	
}
